Motion.GetGroupState 方法

依據目前啟用的分組方法取得單一軸組的狀態。

命名空間IntervalZero.KINGSTAR.Local.Api

組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

語法

C#VB
public KsReturn<GroupState> GetGroupState(
       int Index
)
Public Function GetGroupState(
       Index As Integer
) As KsReturn(Of GroupState)

參數

Index [in]

型別:int

軸組的索引。索引以 0 為起始。最多可有 32 個軸組。

回傳值

型別:KsReturn<GroupState>

回傳一個 KsError 代碼及一個 GroupState 值。

範例

C#
N/A

參見

Motion 類別

IntervalZero.KINGSTAR.Local.Api 命名空間